//
//  XDEmptyVCView.h
//  iPadAuditAuthorise
//
//  Created by XiangDongMBP on 16/9/9.
//  Copyright © 2016年 XiangDong. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XDEmptyVCView;
@protocol XDEmptyVCViewDelegate <NSObject>
@optional

// Called when a button is clicked. The view will be automatically dismissed after this call returns
- (void)xDEmptyVCView:(XDEmptyVCView *)selPhotoView refreshBtnTapped:(UIButton *)btn;

@end

@interface XDEmptyVCView : UIView

@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UIButton *refreshBtn;
@property (nonatomic, weak) id<XDEmptyVCViewDelegate> delegate;

- (void)showInView:(UIView *)view;
- (void)hide;

@end
